package com.matt.service.courseV2;



import com.matt.commons.page.PagerQuery;
import com.matt.domain.courseV2.ChildrenMonthRecord;
import com.matt.domain.courseV2.ChildrenMonthTemplate;
import com.matt.domain.courseV2.po.ChildrenMonthInfoPO;
import com.matt.domain.courseV2.vo.ChildrenMonthRecordVO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ChildrenMonthRecordService {


    /**
     * 获取月模板信息
     * @param templateId
     */
    ChildrenMonthTemplate getChildrenMonthTemplate(  String templateId );

    /**
     * 获取月模板列表信息
     */
    Page<ChildrenMonthTemplate> getChildrenMonthTemplateList(PagerQuery pagerQuery);


    ChildrenMonthTemplate add(  ChildrenMonthTemplate childrenMonthTemplate );


    ChildrenMonthInfoPO childrenInfo(String childrenId, Integer month);


    ChildrenMonthRecord addRecord(String ticket ,ChildrenMonthRecord childrenMonthRecord);


    ChildrenMonthRecord get(String childrenId, Integer month);


    ChildrenMonthRecord getId(String id);


    ChildrenMonthRecord update(ChildrenMonthRecord childrenMonthRecord);


    Page<ChildrenMonthRecordVO> getList(String ticket, String childrenId, Integer month, String classId, String name, PagerQuery pagerQuery);

    Page<ChildrenMonthRecordVO> getList1(String areaId,String childrenId, Integer month, String classId, String name, PagerQuery pagerQuery);

}
